package com.untils;

public class Resultant {
    private int flagCode;  //response-code
    private String  message;  //response-message
    private Object   data;    // response-data

    public int getFlag() {
        return flagCode;
    }

    public void setFlag(int flag) {
        this.flagCode = flag;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "{" +
                "flagCode=" + flagCode +
                ", message='" + message + '\'' +
                ", data=" + data +
                '}';
    }
}
